<div id="content_main" class="clearfix">
			<div id="main_panel_container" class="left">
			<div id="dashboard">
				<h2 class="ico_mug">Residential Property</h2>
				<div class="clearfix">
				<div class="left quickview">
					<table width="600">
					<tr><td width="80">
					<h3>Add Property</h3>
					</td>
					<td width="10">&nbsp;</td>
					<td width="80">
					<h3><a href="<?php echo WEB_URL;?>home/addfloorplan">Add Floor Plan</a></h3></td>
					<td width="10">&nbsp;</td>
					<td width="80">
					<h3><a href="<?php echo WEB_URL;?>home/addresidentialplan">Add Plan</a></h3></td>
					<td width="10">&nbsp;</td>
					<td width="80">
					<h3><a href="<?php echo WEB_URL;?>home/addresidentialspecification">Add Specification</a></h3></td>
					<td width="10">&nbsp;</td>
					<td width="80">
					<h3><a href="<?php echo WEB_URL;?>home/addresidentialamenities">Add Amenities</a></h3></td>
					<td width="10">&nbsp;</td>
					<td width="80">
					<h3><a href="<?php echo WEB_URL;?>home/addresidentialelevation">Add Building Elevation</a></h3></td>
					<td width="10">&nbsp;</td>
					<td width="80">
					<h3><a href="<?php echo WEB_URL;?>home/addresidentialconstructionstage">Add Present Construction Stage</a></h3></td>
					<td width="80">
					<h3><a href="<?php echo WEB_URL;?>home/addresidentialbrochure">Add Brochure</a></h3></td>
					
					</tr>
					</table>
					<form method="post" enctype="multipart/form-data" action="<?php echo WEB_URL;?>home/addpropertyvalue"> 	
		  <fieldset id="fieldset">
		  <?php  if(strlen($this->session->userdata('errmsg')) >0){
				echo "<p class='errmsg'>". $this->session->userdata('errmsg') ."</p>";
				$this->session->set_userdata('errmsg','');
			}
			
			?>
			<table width="500">
			<tr>
			<td><b>Property Type</b></td>
					<td style="padding-right:114px; ">
						<input type="text" name="proptype" value="Residential" readonly="true" id="proptype"/>
					</td>
					
			</tr>
			</table>
			<input type="hidden" name="proptypeid" value="<?php print $propertytype; ?>" />
			<table width="500">
			<tr>
			<td><b>Category</b></td>
					<td style="padding-left:2px;">
						<select name="propcategory" id="property" >
							<option value="0">==select category==</option>
		<?php
				foreach($category as $val)
				{
				print "<option value='".$val['categoryid']."'>".$val['categoryname']."</option>";
				}
								
			?>					
						</select>
					</td>
			</tr>
			</table>
			
			<table width="500">
			<tr>
			<td><b>City Name</b></td>
					<td style="padding-right:15px;">
						<select name="cityname" id="property" >
							<option value="0">==select city==</option>
		<?php
				foreach($citylist as $val)
				{
				print "<option class='cityhighlight' value='".$val['cityid']."'>".$val['cityname']."</option>";
				
					foreach($val['localityarray'] as $value)
					{
						print "<option value='".$value['cityid']."'>".$value['cityname']."</option>";
					}
				
				}
								
			?>					
						</select>
					</td>
			</tr>
			
			
		</table>
		<table width="500">
			<tr>
			<td><input type="submit" name="submit" value="Submit"></td>
			</tr>
		</table>
		<table width="550">
		<tr>
		<td width="25"><b>S.No</b></td>
		<td width="20">&nbsp;</td>
		<td width="55"><b>Project Name</b></td>
		<td width="15">&nbsp;</td>
		<td width="55"><b>Builder's Name</b></td>
		<td width="20">&nbsp;</td>
		<td width="25"><b>Category</b></td>
		<!--<td width="25"><b>Price (INR)</b></td>
		<td width="20">&nbsp;</td>
		<td width="25"><b>Plot Area</b></td>
		<td width="20">&nbsp;</td>
		<td width="25"><b>Built Up</b></td>
		<td width="20">&nbsp;</td>
		<td width="25"><b>Bedrooms</b></td>-->
		<td width="20">&nbsp;</td>
		<td width="50"><b>Action</b></td>
		</tr>
		</table>
		<table width="550">
		<?php if (!empty($property)): ?>
				<?php $count=1;?>
				<?php foreach ($property as $artpropertyrow): ?>
				<?php $propertyid=$artpropertyrow['propertyid'];
				?>
		<tr>
		<td width="25"><?php echo $count;?></td>
		<td width="10">&nbsp;</td>
		<td width="55"><?php print $artpropertyrow['property_name']; ?></td>
		<td width="15">&nbsp;</td>
		<td width="45"><?php print $artpropertyrow['builders_name']; ?></td>
		<td width="10">&nbsp;</td>
		<td width="40"><?php print $artpropertyrow['categoryname']; ?></td>
		<!--<td width="10"><?php //print number_format($artpropertyrow['price'],2,'.',''); ?></td>
		<td width="10">&nbsp;</td>
		<td width="40"><?php //print $artpropertyrow['plot_area']; ?></td>
		<td width="10">&nbsp;</td>
		<td width="40"><?php //print $artpropertyrow['builtup_area']; ?></td>
		<td width="20">&nbsp;</td>
		<td width="25"><?php //print $artpropertyrow['bedrooms']; ?></td>
		<td width="20">&nbsp;</td>-->
		<td width="25"><a href="<?php echo WEB_URL .'home/editproperty/'.$propertyid;?>"><img src="<?php echo WEB_PATH;?>img/edit.jpg"></a></td>
						<td width="25"><a href="<?php echo WEB_URL .'home/deleteproperty/'.$propertyid;?>"class="delete"><img src="<?php echo WEB_PATH;?>img/cross.png"></a></td>
		<?php $count++;?>
		</tr>
		<?php endforeach; ?>
			<?php endif; ?>
		</table>
		<?php
echo $this->pagination->create_links();
?>
			</fieldset>
			</form>
			</div></div>			
			</div><!-- end #dashboard -->
			
			
			
			<div id="shortcuts" class="clearfix">
				<h2 class="ico_mug">Panel shortcuts</h2>
				<ul>
					<li class="first_li"><a href=""><img src="<?php echo WEB_PATH;?>img/theme.jpg" alt="themes" /><span>Themes</span></a></li>
					<li><a href=""><img src="<?php echo WEB_PATH;?>img/statistic.jpg" alt="statistics" /><span>Statistics</span></a></li>
					<li><a href=""><img src="<?php echo WEB_PATH;?>img/ftp.jpg" alt="FTP" /><span>Products</span></a></li>
					<li><a href=""><img src="<?php echo WEB_PATH;?>img/users.jpg" alt="Users" /><span>Users</span></a></li>
					<li><a href=""><img src="<?php echo WEB_PATH;?>img/comments.jpg" alt="Comments" /><span>Comments</span></a></li>
					<li><a href=""><img src="<?php echo WEB_PATH;?>img/gallery.jpg" alt="Gallery" /><span>Gallery</span></a></li>
					<li><a href=""><img src="<?php echo WEB_PATH;?>img/security.jpg" alt="Security" /><span>Security</span></a></li>
					
				</ul>
			</div><!-- end #shortcuts -->
			</div>